package net.disy.cadenza.repository.wrappers;

import java.util.Collection;
import java.util.Map;


public class SelectorListWrapper {
	private Map<String, SelectorWrapper> nameToSelectorMap;
	
	public SelectorListWrapper(Map<String, SelectorWrapper> nameToSelectorMap){
		this.nameToSelectorMap = nameToSelectorMap;
	}

	public Collection<SelectorWrapper> getSelectors() {
		return nameToSelectorMap.values();
	}
	
	public SelectorWrapper getSelector(String name){
		return nameToSelectorMap.get(name);
	}
}
